package cn.com.dhcc.turbo.service.queue.tlq;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import org.springframework.jms.core.JmsTemplate;

import com.tongtech.tlq.admin.remote.api.TLQOptObjFactory;

/**
 * tlq缓存
 * 
 * @日期 2015-6-25 上午11:55:10
 * @作者  高强
 */
public class TlqCache {
	
	//tlq所管辖的区域缓存，key值为区域编码，value值为ip
	public static Map<String,String> regionMap=new ConcurrentHashMap<String, String>();
	//是否启用缓存
	public static boolean  cacheEnabled=false;
	//JmsTemplate缓存
	public static Map<String,JmsTemplate> jmsTemplateMap=new ConcurrentHashMap<String, JmsTemplate>();
	//TLQOptObjFactory缓存
	public static Map<String,TLQOptObjFactory> tLQOptObjFactoryMap=new ConcurrentHashMap<String, TLQOptObjFactory>();
	
	
	
	


}
